<div class="simpleBorder" style="width:300px; margin: auto; margin-top:100px;text-align:center; align:center;">
    <div class="header">
        Authenticate
    </div>
    <div class="container">
        <span class="inputLabel">Name:</span><input  id="username" name="username" type="text" size="20"><br/>
        <span class="inputLabel">Password:</span><input id="password" name="password" type="password" size="20"><br/>

        <div class="button" style="width:90px;margin:auto;margin-top:20px;" onclick="login()">Login</div>

        <div style="color:#FF0000" id="errorMessage"></div>
    </div>
    <script>
        enterKey("username", login);
        enterKey("password", login);
        focus("username");
    </script>

</div>